package eip.chapter9.splitaggregate.impl;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import eip.chapter9.splitaggregate.HotelInfo;
import eip.chapter9.splitaggregate.HotelInformationService;

public class HotelInformationServiceImpl implements HotelInformationService {

	private final static Log LOG = LogFactory.getLog(HotelInformationServiceImpl.class);
	
	public HotelInfo getHotelInfo(String hotelID) {
		LOG.info("Retrieving information for hotelID: " + hotelID);
		return new HotelInfo("hotelID","hotelName","hotelStreet",1,"london","232131");
	}

}
